package com.lengchangjing.BehavioralPatterns.CommandPattern.example;

public class UpdateCommand extends Command{
    private Receiver receiver = new Receiver();

    @Override
    public void execute() {
        receiver.delete();
        LogUtil.addLog("执行了更新操作");
    }
}
